home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Views
/
HorizontalSpacer.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
493b
|
28 lines
// HorizontalSpacer.h
#ifndef HorizontalSpacer_h
#define HorizontalSpacer_h
#ifndef SolidView_h
#include "SolidView.h"
#endif
class HorizontalSpacer: public SolidView
{
private:
const uint16 width;
public:
HorizontalSpacer( uint16 theWidth,
const RGBColor& color = NamedColors::white )
: SolidView( color ),
width( theWidth )
{}
virtual uint16 MinimumWidth() const;
virtual uint16 MaximumWidth() const;
virtual uint16 BestHeight() const;
};
#endif